3.25.98 \(\int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx\) [2498]

3.25.98.1 Optimal result
3.25.98.2 Mathematica [C] (verified)
3.25.98.3 Rubi [A] (warning: unable to verify)
3.25.98.4 Maple [F]
3.25.98.5 Fricas [F]
3.25.98.6 Sympy [F]
3.25.98.7 Maxima [F]
3.25.98.8 Giac [F]
3.25.98.9 Mupad [F(-1)]

3.25.98.1 Optimal result

Integrand size = 22, antiderivative size = 628 \[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\frac {25}{42} \left (52-54 x+27 x^2\right )^{2/3}+\frac {1}{21} (2+3 x) \left (52-54 x+27 x^2\right )^{2/3}+\frac {2700 \sqrt [3]{5} (1-x)}{7 \left (30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right )}-\frac {5\ 5^{5/6} \sqrt {2+\sqrt {3}} \left (30-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right ) \sqrt {\frac {900+30 \sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}+10^{2/3} \left (2700+(-54+54 x)^2\right )^{2/3}}{\left (30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right )^2}} E\left (\arcsin \left (\frac {30 \left (1+\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}{30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}\right )|-7+4 \sqrt {3}\right )}{126 \sqrt {2} \sqrt [4]{3} (1-x) \sqrt {-\frac {30-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}{\left (30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right )^2}}}+\frac {5\ 5^{5/6} \left (30-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right ) \sqrt {\frac {900+30 \sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}+10^{2/3} \left (2700+(-54+54 x)^2\right )^{2/3}}{\left (30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {30 \left (1+\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}{30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}\right ),-7+4 \sqrt {3}\right )}{63\ 3^{3/4} (1-x) \sqrt {-\frac {30-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}}{\left (30 \left (1-\sqrt {3}\right )-\sqrt [3]{10} \sqrt [3]{2700+(-54+54 x)^2}\right )^2}}} \]

output
25/42*(27*x^2-54*x+52)^(2/3)+1/21*(2+3*x)*(27*x^2-54*x+52)^(2/3)+2700/7*5^ 
(1/3)*(1-x)/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30*3^(1/2))+5/189*5^(5 
/6)*(30-10^(1/3)*(2700+(-54+54*x)^2)^(1/3))*EllipticF((-10^(1/3)*(2700+(-5 
4+54*x)^2)^(1/3)+30+30*3^(1/2))/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30 
*3^(1/2)),2*I-I*3^(1/2))*((900+30*10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+10^(2 
/3)*(2700+(-54+54*x)^2)^(2/3))/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30* 
3^(1/2))^2)^(1/2)*3^(1/4)/(1-x)/((-30+10^(1/3)*(2700+(-54+54*x)^2)^(1/3))/ 
(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30*3^(1/2))^2)^(1/2)-5/378*5^(5/6) 
*(30-10^(1/3)*(2700+(-54+54*x)^2)^(1/3))*EllipticE((-10^(1/3)*(2700+(-54+5 
4*x)^2)^(1/3)+30+30*3^(1/2))/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30*3^ 
(1/2)),2*I-I*3^(1/2))*((900+30*10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+10^(2/3) 
*(2700+(-54+54*x)^2)^(2/3))/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30*3^( 
1/2))^2)^(1/2)*(1/2+1/2*3^(1/2))*3^(3/4)/(1-x)/((-30+10^(1/3)*(2700+(-54+5 
4*x)^2)^(1/3))/(-10^(1/3)*(2700+(-54+54*x)^2)^(1/3)+30-30*3^(1/2))^2)^(1/2 
)
 
3.25.98.2 Mathematica [C] (verified)

Result contains higher order function than in optimal. Order 5 vs. order 4 in optimal.

Time = 10.02 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.09 \[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\frac {1}{42} \left ((29+6 x) \left (52-54 x+27 x^2\right )^{2/3}+180 \sqrt [3]{5} (-1+x) \operatorname {Hypergeometric2F1}\left (\frac {1}{3},\frac {1}{2},\frac {3}{2},-\frac {27}{25} (-1+x)^2\right )\right ) \]

input
Integrate[(2 + 3*x)^2/(52 - 54*x + 27*x^2)^(1/3),x]
 
output
((29 + 6*x)*(52 - 54*x + 27*x^2)^(2/3) + 180*5^(1/3)*(-1 + x)*Hypergeometr 
ic2F1[1/3, 1/2, 3/2, (-27*(-1 + x)^2)/25])/42
 
3.25.98.3 Rubi [A] (warning: unable to verify)

Time = 0.46 (sec) , antiderivative size = 395, normalized size of antiderivative = 0.63, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {1166, 27, 1160, 1090, 233, 833, 760, 2418}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {(3 x+2)^2}{\sqrt [3]{27 x^2-54 x+52}} \, dx\)

\(\Big \downarrow \) 1166

\(\displaystyle \frac {1}{63} \int \frac {1350 x}{\sqrt [3]{27 x^2-54 x+52}}dx+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 27

\(\displaystyle \frac {150}{7} \int \frac {x}{\sqrt [3]{27 x^2-54 x+52}}dx+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 1160

\(\displaystyle \frac {150}{7} \left (\int \frac {1}{\sqrt [3]{27 x^2-54 x+52}}dx+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 1090

\(\displaystyle \frac {150}{7} \left (\frac {\int \frac {1}{\sqrt [3]{\frac {(54 x-54)^2}{2700}+1}}d(54 x-54)}{54\ 5^{2/3}}+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 233

\(\displaystyle \frac {150}{7} \left (\frac {\sqrt [3]{5} \sqrt {(54 x-54)^2} \int \frac {30 \sqrt {3} \sqrt [3]{\frac {(54 x-54)^2}{2700}+1}}{\sqrt {(54 x-54)^2}}d\sqrt [3]{\frac {(54 x-54)^2}{2700}+1}}{2 \sqrt {3} (54 x-54)}+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 833

\(\displaystyle \frac {150}{7} \left (\frac {\sqrt [3]{5} \sqrt {(54 x-54)^2} \left (\left (1+\sqrt {3}\right ) \int \frac {30 \sqrt {3}}{\sqrt {(54 x-54)^2}}d\sqrt [3]{\frac {(54 x-54)^2}{2700}+1}-\int \frac {30 \sqrt {3} \left (-54 x+\sqrt {3}+55\right )}{\sqrt {(54 x-54)^2}}d\sqrt [3]{\frac {(54 x-54)^2}{2700}+1}\right )}{2 \sqrt {3} (54 x-54)}+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 760

\(\displaystyle \frac {150}{7} \left (\frac {\sqrt [3]{5} \sqrt {(54 x-54)^2} \left (-\int \frac {30 \sqrt {3} \left (-54 x+\sqrt {3}+55\right )}{\sqrt {(54 x-54)^2}}d\sqrt [3]{\frac {(54 x-54)^2}{2700}+1}-\frac {60 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (1+\sqrt {3}\right ) (55-54 x) \sqrt {\frac {54 x+\left (\frac {(54 x-54)^2}{2700}+1\right )^{2/3}-53}{\left (-54 x-\sqrt {3}+55\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {-54 x+\sqrt {3}+55}{-54 x-\sqrt {3}+55}\right ),-7+4 \sqrt {3}\right )}{\sqrt {-\frac {55-54 x}{\left (-54 x-\sqrt {3}+55\right )^2}} \sqrt {(54 x-54)^2}}\right )}{2 \sqrt {3} (54 x-54)}+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

\(\Big \downarrow \) 2418

\(\displaystyle \frac {150}{7} \left (\frac {\sqrt [3]{5} \sqrt {(54 x-54)^2} \left (-\frac {60 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (1+\sqrt {3}\right ) (55-54 x) \sqrt {\frac {54 x+\left (\frac {(54 x-54)^2}{2700}+1\right )^{2/3}-53}{\left (-54 x-\sqrt {3}+55\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {-54 x+\sqrt {3}+55}{-54 x-\sqrt {3}+55}\right ),-7+4 \sqrt {3}\right )}{\sqrt {-\frac {55-54 x}{\left (-54 x-\sqrt {3}+55\right )^2}} \sqrt {(54 x-54)^2}}+\frac {30\ 3^{3/4} \sqrt {2+\sqrt {3}} (55-54 x) \sqrt {\frac {54 x+\left (\frac {(54 x-54)^2}{2700}+1\right )^{2/3}-53}{\left (-54 x-\sqrt {3}+55\right )^2}} E\left (\arcsin \left (\frac {-54 x+\sqrt {3}+55}{-54 x-\sqrt {3}+55}\right )|-7+4 \sqrt {3}\right )}{\sqrt {-\frac {55-54 x}{\left (-54 x-\sqrt {3}+55\right )^2}} \sqrt {(54 x-54)^2}}-\frac {\sqrt {(54 x-54)^2}}{15 \sqrt {3} \left (-54 x-\sqrt {3}+55\right )}\right )}{2 \sqrt {3} (54 x-54)}+\frac {1}{36} \left (27 x^2-54 x+52\right )^{2/3}\right )+\frac {1}{21} \left (27 x^2-54 x+52\right )^{2/3} (3 x+2)\)

input
Int[(2 + 3*x)^2/(52 - 54*x + 27*x^2)^(1/3),x]
 
output
((2 + 3*x)*(52 - 54*x + 27*x^2)^(2/3))/21 + (150*((52 - 54*x + 27*x^2)^(2/ 
3)/36 + (5^(1/3)*Sqrt[(-54 + 54*x)^2]*(-1/15*Sqrt[(-54 + 54*x)^2]/(Sqrt[3] 
*(55 - Sqrt[3] - 54*x)) + (30*3^(3/4)*Sqrt[2 + Sqrt[3]]*(55 - 54*x)*Sqrt[( 
-53 + 54*x + (1 + (-54 + 54*x)^2/2700)^(2/3))/(55 - Sqrt[3] - 54*x)^2]*Ell 
ipticE[ArcSin[(55 + Sqrt[3] - 54*x)/(55 - Sqrt[3] - 54*x)], -7 + 4*Sqrt[3] 
])/(Sqrt[-((55 - 54*x)/(55 - Sqrt[3] - 54*x)^2)]*Sqrt[(-54 + 54*x)^2]) - ( 
60*3^(1/4)*Sqrt[2 - Sqrt[3]]*(1 + Sqrt[3])*(55 - 54*x)*Sqrt[(-53 + 54*x + 
(1 + (-54 + 54*x)^2/2700)^(2/3))/(55 - Sqrt[3] - 54*x)^2]*EllipticF[ArcSin 
[(55 + Sqrt[3] - 54*x)/(55 - Sqrt[3] - 54*x)], -7 + 4*Sqrt[3]])/(Sqrt[-((5 
5 - 54*x)/(55 - Sqrt[3] - 54*x)^2)]*Sqrt[(-54 + 54*x)^2])))/(2*Sqrt[3]*(-5 
4 + 54*x))))/7
 

3.25.98.3.1 Defintions of rubi rules used

rule 27
Int[(a_)*(Fx_), x_Symbol] :> Simp[a   Int[Fx, x], x] /; FreeQ[a, x] &&  !Ma 
tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
 

rule 233
Int[((a_) + (b_.)*(x_)^2)^(-1/3), x_Symbol] :> Simp[3*(Sqrt[b*x^2]/(2*b*x)) 
   Subst[Int[x/Sqrt[-a + x^3], x], x, (a + b*x^2)^(1/3)], x] /; FreeQ[{a, b 
}, x]
 

rule 760
Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], 
s = Denom[Rt[b/a, 3]]}, Simp[2*Sqrt[2 - Sqrt[3]]*(s + r*x)*(Sqrt[(s^2 - r*s 
*x + r^2*x^2)/((1 - Sqrt[3])*s + r*x)^2]/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[(- 
s)*((s + r*x)/((1 - Sqrt[3])*s + r*x)^2)]))*EllipticF[ArcSin[((1 + Sqrt[3]) 
*s + r*x)/((1 - Sqrt[3])*s + r*x)], -7 + 4*Sqrt[3]], x]] /; FreeQ[{a, b}, x 
] && NegQ[a]
 

rule 833
Int[(x_)/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3] 
], s = Denom[Rt[b/a, 3]]}, Simp[(-(1 + Sqrt[3]))*(s/r)   Int[1/Sqrt[a + b*x 
^3], x], x] + Simp[1/r   Int[((1 + Sqrt[3])*s + r*x)/Sqrt[a + b*x^3], x], x 
]] /; FreeQ[{a, b}, x] && NegQ[a]
 

rule 1090
Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[1/(2*c*(-4* 
(c/(b^2 - 4*a*c)))^p)   Subst[Int[Simp[1 - x^2/(b^2 - 4*a*c), x]^p, x], x, 
b + 2*c*x], x] /; FreeQ[{a, b, c, p}, x] && GtQ[4*a - b^2/c, 0]
 

rule 1160
Int[((d_.) + (e_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol 
] :> Simp[e*((a + b*x + c*x^2)^(p + 1)/(2*c*(p + 1))), x] + Simp[(2*c*d - b 
*e)/(2*c)   Int[(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] 
 && NeQ[p, -1]
 

rule 1166
Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_S 
ymbol] :> Simp[e*(d + e*x)^(m - 1)*((a + b*x + c*x^2)^(p + 1)/(c*(m + 2*p + 
 1))), x] + Simp[1/(c*(m + 2*p + 1))   Int[(d + e*x)^(m - 2)*Simp[c*d^2*(m 
+ 2*p + 1) - e*(a*e*(m - 1) + b*d*(p + 1)) + e*(2*c*d - b*e)*(m + p)*x, x]* 
(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, d, e, m, p}, x] && If[Ration 
alQ[m], GtQ[m, 1], SumSimplerQ[m, -2]] && NeQ[m + 2*p + 1, 0] && IntQuadrat 
icQ[a, b, c, d, e, m, p, x]
 

rule 2418
Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = N 
umer[Simplify[(1 + Sqrt[3])*(d/c)]], s = Denom[Simplify[(1 + Sqrt[3])*(d/c) 
]]}, Simp[2*d*s^3*(Sqrt[a + b*x^3]/(a*r^2*((1 - Sqrt[3])*s + r*x))), x] + S 
imp[3^(1/4)*Sqrt[2 + Sqrt[3]]*d*s*(s + r*x)*(Sqrt[(s^2 - r*s*x + r^2*x^2)/( 
(1 - Sqrt[3])*s + r*x)^2]/(r^2*Sqrt[a + b*x^3]*Sqrt[(-s)*((s + r*x)/((1 - S 
qrt[3])*s + r*x)^2)]))*EllipticE[ArcSin[((1 + Sqrt[3])*s + r*x)/((1 - Sqrt[ 
3])*s + r*x)], -7 + 4*Sqrt[3]], x]] /; FreeQ[{a, b, c, d}, x] && NegQ[a] && 
 EqQ[b*c^3 - 2*(5 + 3*Sqrt[3])*a*d^3, 0]
 
3.25.98.4 Maple [F]

\[\int \frac {\left (2+3 x \right )^{2}}{\left (27 x^{2}-54 x +52\right )^{\frac {1}{3}}}d x\]

input
int((2+3*x)^2/(27*x^2-54*x+52)^(1/3),x)
 
output
int((2+3*x)^2/(27*x^2-54*x+52)^(1/3),x)
 
3.25.98.5 Fricas [F]

\[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\int { \frac {{\left (3 \, x + 2\right )}^{2}}{{\left (27 \, x^{2} - 54 \, x + 52\right )}^{\frac {1}{3}}} \,d x } \]

input
integrate((2+3*x)^2/(27*x^2-54*x+52)^(1/3),x, algorithm="fricas")
 
output
integral((9*x^2 + 12*x + 4)/(27*x^2 - 54*x + 52)^(1/3), x)
 
3.25.98.6 Sympy [F]

\[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\int \frac {\left (3 x + 2\right )^{2}}{\sqrt [3]{27 x^{2} - 54 x + 52}}\, dx \]

input
integrate((2+3*x)**2/(27*x**2-54*x+52)**(1/3),x)
 
output
Integral((3*x + 2)**2/(27*x**2 - 54*x + 52)**(1/3), x)
 
3.25.98.7 Maxima [F]

\[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\int { \frac {{\left (3 \, x + 2\right )}^{2}}{{\left (27 \, x^{2} - 54 \, x + 52\right )}^{\frac {1}{3}}} \,d x } \]

input
integrate((2+3*x)^2/(27*x^2-54*x+52)^(1/3),x, algorithm="maxima")
 
output
integrate((3*x + 2)^2/(27*x^2 - 54*x + 52)^(1/3), x)
 
3.25.98.8 Giac [F]

\[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\int { \frac {{\left (3 \, x + 2\right )}^{2}}{{\left (27 \, x^{2} - 54 \, x + 52\right )}^{\frac {1}{3}}} \,d x } \]

input
integrate((2+3*x)^2/(27*x^2-54*x+52)^(1/3),x, algorithm="giac")
 
output
integrate((3*x + 2)^2/(27*x^2 - 54*x + 52)^(1/3), x)
 
3.25.98.9 Mupad [F(-1)]

Timed out. \[ \int \frac {(2+3 x)^2}{\sqrt [3]{52-54 x+27 x^2}} \, dx=\int \frac {{\left (3\,x+2\right )}^2}{{\left (27\,x^2-54\,x+52\right )}^{1/3}} \,d x \]

input
int((3*x + 2)^2/(27*x^2 - 54*x + 52)^(1/3),x)
 
output
int((3*x + 2)^2/(27*x^2 - 54*x + 52)^(1/3), x)